package com.demo.entity.query;

import com.demo.annotation.VerifyParam;

import java.util.Date;

/**
 * @Description:小组成员表查询
 * @Date:2025-03-01
 * @author：author
*/
public class GroupMemberQuery extends BaseQuery{

	/**
	 * 成员ID，主键，自增
	 */
	private Long memberId;

	/**
	 * 关联的小组ID，外键
	 */
	@VerifyParam(required = true)
	private Long groupId;

	/**
	 * 关联的用户ID，外键
	 */
	private Long userId;

	/**
	 * 加入时间
	 */
	private Date joinTime;

	private String joinTimeStart;

	private String joinTimeEnd;

	/**
	 * 成员角色：普通成员、管理员
	 */
	private Integer role;

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public Long getMemberId() {
		return this.memberId;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public Long getGroupId() {
		return this.groupId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setJoinTime(Date joinTime) {
		this.joinTime = joinTime;
	}

	public Date getJoinTime() {
		return this.joinTime;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	public Integer getRole() {
		return this.role;
	}

	public void setJoinTimeStart(String joinTimeStart) {
		this.joinTimeStart = joinTimeStart;
	}

	public String getJoinTimeStart() {
		return this.joinTimeStart;
	}

	public void setJoinTimeEnd(String joinTimeEnd) {
		this.joinTimeEnd = joinTimeEnd;
	}

	public String getJoinTimeEnd() {
		return this.joinTimeEnd;
	}

}